<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body>
    <div ng-app='hd' ng-controller='ctrl'>
        <table>
            <tr>
                <td>
                    <input type="checkbox" ng-model="all">
                    <span ng-bind="all?'取消':'全选'"></span>
                </td>
                <td>标题</td>
                <td>网址</td>
            </tr>
            <tr ng-repeat="v in data">
                <td>
                   <input type="checkbox" ng-checked='all'>
                </td>
                <td></td>
                <td></td>
            </tr>
        </table>
    </div>
    <script>
       var vm = angular.module('hd',[]);
        vm.controller('ctrl',["$scope",function($scope){
              $scope.data = [
                  {name: '后盾人','url': 'houdunren.com'},
                  {name: '阿西吧','url': 'houdunwang.com'}
              ]
        }])
    </script>
</body>
</html>